package br.usp.ime.protoc.client;

import java.util.List;

import br.usp.ime.protoc.pessoa.Controle;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ControleServiceAsync {

	/**
	 * Obtem Controles.
	 */
	public void obterControles(AsyncCallback<List<Controle>> callback);
 
	/**
	 * Obter Controle.
	 */
	public void obterControle(int id, AsyncCallback<Controle> callback);

	/**
	 * Incluir Controle.
	 */
	public void incluirControle(Controle controle, AsyncCallback<Boolean> callback);

	/**
	 * Alterar Controle.
	 */
	public void alterarControle(Controle controle, AsyncCallback<Boolean> callback);

	/**
	 * Excluir Controle.
	 */
	public void excluirControle(int id, AsyncCallback<Boolean> callback);

}
